package cqrtplm.dto;

import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper=false)
public class KeyValueDTO {

    private String key;

    private String value;

    public static KeyValueDTO of(final String key, final String value) {
        KeyValueDTO dto = new KeyValueDTO();
        dto.setKey(key);
        dto.setValue(value);
        return dto;
    }

}
